When enable-animations is false, the revealer's child-revealed property is
notified immediately, so make sure to connect to it before toggling the
revealer.
https://bugzilla.gnome.org/show_bug.cgi?id=719510
{
GtkInfoBarPrivate *priv = GTK_INFO_BAR (widget)->priv;
- gtk_revealer_set_reveal_child (GTK_REVEALER (priv->revealer), FALSE);
g_signal_connect_object (priv->revealer, "notify::child-revealed",
G_CALLBACK (child_revealed), widget, 0);
+ gtk_revealer_set_reveal_child (GTK_REVEALER (priv->revealer), FALSE);
}
static void